package com.wuyb.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: wyb
 * @Date: 2023/12/31/20:57
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_role_xq")
@ApiModel(value = "Role对象",description = "")
public class Role implements Serializable {

    @Serial
    private static final long serialVersionUID = 7346735571147356423L;

    @TableId(value = "id_xq", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @TableField("perms_xq")
    @ApiModelProperty(value = "权限识别")
    private String perms;

    @TableField("name_xq")
    @ApiModelProperty(value = "权限名")
    private String name;

    @TableField("remark_xq")
    @ApiModelProperty(value = "备注")
    private String remark;
}
